//
//  Player.h
//  Return Of The Lemi
//
//  Created by Paul Vishayanuroj on 11/2/09.
//  Copyright 2009 Cornell University. All rights reserved.
//

#import "Creature.h"

@interface Player : Creature 
{
	
	PlayerState playerState; 
	
	NSArray *maxAmmo;
	NSArray *remainingAmmo;
	
	MunitionType ammoType;
	
	CGPoint walk;
	
	id actionStand; 
	id actionWalk;
	id actionSpin; 
	id actionThrow;  
	id actionCreateKumquat;
	id actionUnlock;
	
	BOOL animateLock;
	
}

@property (nonatomic, readonly) PlayerState playerState;
@property (nonatomic, readonly) NSArray *maxAmmo; 
@property (nonatomic, readonly) NSArray *remainingAmmo;
@property (nonatomic, readonly) CGPoint walk;

+ (id) playerWithPos:(CGPoint)pos;
- (id) initWithPos:(CGPoint)pos;
- (void) Update;
- (void) Walk;
- (void) Stand;
- (void) Flip;
- (void) Spin;
- (void) Throw;
- (void) AnimateUnlock;
- (void) LoadActions;

- (void) FireKumquat;

@end
